
{
    // 1
    if([@"WeakSelf" isEqualToString:@"Label"]) {
        UIView *selfView = [[UIView alloc] init];
        if ([selfView.superview isKindOfClass:[UITabBar class]]) {
            UITabBar *tabbar = (UITabBar *)selfView.superview;
            dispatch_queue_t queue  = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), queue, ^{
                dispatch_async(dispatch_get_main_queue(), ^{
                    for (UIView *btn in tabbar.subviews) {
                        if ([btn isKindOfClass:NSClassFromString(@"UITabBarButton")]) {
                            btn.hidden = YES;
                        }
                    }
                    [selfView.superview bringSubviewToFront:selfView]; // 放置到最前
                });
            });
        }
    }
}


{
    // 2
    if([@"NSMutableDictionary" isEqualToString:@"PPRequestSerializerJSON"]) {
        NSString *URL = @"NSMutableDictionary";
        NSDictionary *parameter = @{
            @"NSMutableDictionary":@"Request"
        };
        NSMutableDictionary *parDic = [[NSMutableDictionary alloc] initWithDictionary:parameter];
        NSString *baseUrl = @"joinUrlWithbaseUrl";
        NSString *pathUrl = @"NSMutableDictionary";
        NSString *pathAll = [NSString stringWithFormat:@"%@%@",baseUrl,pathUrl];

    }
}

{
    // 3
    if([@"EmptyView" isEqualToString:@"ColView"]) {
        // 空数据
        UIView *emptyView = [[UIView alloc] init];
        emptyView.hidden = true;
        
        UICollectionViewFlowLayout *flowLayout = [[UICollectionViewFlowLayout alloc] init];
        flowLayout.minimumLineSpacing = 0;
        flowLayout.minimumInteritemSpacing = 0;
        flowLayout.itemSize = CGSizeMake(120, 120);
        
        UICollectionView *colView = [[UICollectionView alloc]initWithFrame:CGRectMake(10, 10, 1000, 1000) collectionViewLayout:flowLayout];
        colView.backgroundColor = [UIColor clearColor];
        colView.pagingEnabled = true;
        [colView registerClass:NSClassFromString(@"HomeCell") forCellWithReuseIdentifier:@"HomeCell"];
    }
}


{
    // 4
    if([@"btn_up" isEqualToString:@"btn_cancle"]) {
        UILabel *lab_name = [[UILabel alloc] init];
        lab_name.text = @"PPCurePP message tip ：Reminder ：Contact the developer";
        lab_name.font = [UIFont systemFontOfSize:18];
        lab_name.textColor = [UIColor redColor];
        
        // 撑开距离的
        UILabel *labView = [[UILabel alloc] init];
        labView.backgroundColor = [UIColor clearColor];
        labView.numberOfLines = 0;
        
        UIButton *btn_up = [UIButton buttonWithType:UIButtonTypeCustom];
        btn_up.backgroundColor = [UIColor redColor];
        btn_up.layer.cornerRadius = 16;
        btn_up.titleLabel.font = [UIFont systemFontOfSize:20];
        [btn_up setTitle:@"PPCurePP message tip ：Confirm ：Contact the developer" forState:UIControlStateNormal];
        [btn_up setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
        [btn_up setTitle:@"PPCurePP message tip ：Confirm ：Contact the developer" forState:UIControlStateSelected];
        [btn_up setTitleColor:[UIColor redColor] forState:UIControlStateSelected];

               
        // 取消
        UIButton *btn_cancle = [UIButton buttonWithType:UIButtonTypeCustom];
        btn_cancle.titleLabel.font = [UIFont systemFontOfSize:20];
        [btn_cancle setTitle:@"PPCurePP message tip ：Cancel ：Contact the developer" forState:UIControlStateNormal];
        [btn_cancle setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
        [btn_cancle setTitle:@"PPCurePP message tip ：Cancel ：Contact the developer" forState:UIControlStateSelected];
        [btn_cancle setTitleColor:[UIColor redColor] forState:UIControlStateSelected];
    }
}


{
    // 5
    if([@"View" isEqualToString:@"lab"]) {
        UIView *view = [[UIView alloc] init];
        view.backgroundColor = [UIColor redColor];
        view.layer.cornerRadius = 16;
        
        UILabel *lab = [[UILabel alloc] init];
        lab.font = [UIFont systemFontOfSize:12];
        lab.textColor = [UIColor redColor];
        [view addSubview:lab];

        
        UILabel *lab_2 = [[UILabel alloc] init];
        lab_2.font = [UIFont systemFontOfSize:12];
        lab_2.textColor = [UIColor redColor];
        [view addSubview:lab_2];
        
        UILabel *lab_3 = [[UILabel alloc] init];
        lab_3.font = [UIFont systemFontOfSize:12];
        lab_3.textColor = [UIColor redColor];
        [view addSubview:lab_3];

    }
}
